package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.List;

@Mapper
public interface NursingPlanMapper {
  List<NursingPlanVo> listAll();

  Page<NursingPlan> selectByPage(String name, Integer status);
  void insert(NursingPlan nursingPlan);

  void update(NursingPlanDto nursingPlanDto);

  void isActive(String id, Integer status);

  NursingPlanVo getById(Long planId);

  void deleteById(String id);
}
